Document the GDK_VULKAN env var
authorMatthias Clasen <mclasen@redhat.com>
Wed, 10 Jan 2018 05:11:25 +0000 (00:11 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 10 Jan 2018 05:11:25 +0000 (00:11 -0500)
This was not documented at all yet.

docs/reference/gtk/running.sgml

index 3d042a01a1755a4dd850af42453d9942273d165c..b717d717c244c3cb03b157066f1e13d28712b20d 100644 (file)
@@ -459,6 +459,28 @@ nevertheless.
   </para>
 </formalpara>
 
+<formalpara>
+  <title><envar>GDK_VULKAN</envar></title>
+
+  <para>
+    This variable can be set to a list of options that influence various aspects
+    of the Vulkan support in GTK+.
+  <variablelist>
+    <varlistentry>
+      <term>disable</term>
+      <listitem><para>Disable Vulkan support</para></listitem>
+    </varlistentry>
+    <varlistentry>
+      <term>validate </term>
+      <listitem><para>Enable the Vulkan validation layer</para></listitem>
+    </varlistentry>
+  </variablelist>
+  The special value <literal>all</literal> can be used to turn on all
+  options. The special value <literal>help</literal> can be used
+  to obtain a list of all supported options.
+  </para>
+</formalpara>
+
 <formalpara>
   <title><envar>GTK_CSD</envar></title>